package com.bw.vip.adapter

import com.bw.vip.entity.VipEntity
import com.bw.viption.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class MemberAdapter: BaseQuickAdapter<VipEntity,BaseViewHolder>(R.layout.item_member){
    override fun convert(holder: BaseViewHolder, item: VipEntity) {
        holder.setText(R.id.zhekou,"商家${item.merchantDiscount}折")
        holder.setText(R.id.jifen,"${item.pointsToCash}积分抵一元")
        holder.setText(R.id.tingchequan,"${item.parkingCoupons}元停车卷")
    }

}